package com.feri.gpstudy.service.intf;

import com.feri.gpstudy.bo.MedicationAllBo;
import com.feri.gpstudy.entity.Medication;
import com.feri.gpstudy.vo.R;

public interface MedicationService {
    /**
     * 新增药品
     * @param medication
     * @return
     */
    R save(Medication medication);

    /**
     * 查询全部药品
     * @param bo
     * @return
     */
    R queryAll(MedicationAllBo bo);

    /**
     *
     * @param medication
     * @return
     */
    R update(Medication medication);
    R del(long mid);
}
